/*
Realistic Unit Modification v4.0 Dialog 
v4.0.0.1 [ALPHA]
Concept & Development by Draper & Raps | [VRC]
*/

private ["_helo","_num","_lib","_libhelo"];

_helo = _this select 0;
_num = 0;

for [{_n = 1},{_n <= (count RUM_SUPAircraft)},{_n = _n + 1}] do {
	_lib = RUM_SUPAircraft select (_n - 1);
	_libhelo = _lib select 0;
	if (_libhelo == _helo) then {
		_num = (_n - 1);
	};
};

RUM_SUPAircraft set [_num,"del"];
RUM_SUPAircraft = RUM_SUPAircraft - ["del"];
publicVariable "RUM_SUPAircraft";

if(true)exitwith{};